package com.lzj.demo.design.singleton;

/**
 * 枚举方式实现单例模式
 * */
public enum SingletonEnum {
    INSTANCE;
    public SingletonEnum getInstance(){
        return INSTANCE;
    }
}
